package lxzh.controller;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

import lxzh.service.TestService;

@RestController
public class TestController {

	@Autowired
	TestService testService;
	
    @RequestMapping("/test")
	public String test(@RequestParam("name") String name) {
		return testService.testService(name);
	}
	
}
